package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.DataDictionaryItem;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface DataDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DataDictionaryItem record);

    DataDictionaryItem selectByPrimaryKey(Long id);

    List<DataDictionaryItem> selectAll();

    int updateByPrimaryKey(DataDictionaryItem record);

    /**
     * 根据dataDictionary表的  sn 查询  明细表的类容
     */
    List<DataDictionaryItem> getItemByDictionarySn(String sn);


    int queryForCount();

    List<DataDictionaryItem> queryForList(QueryObject qo);
}